From: robertl Date: Tue, 22 Jun 2010 03:06:28 +0000 (+0000) Subject: C89 fix in compegps. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~48 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=026aab7e1c679a08ecc55c9e9262cdc354747751;p=gpsbabel.git C89 fix in compegps. --- diff --git a/compegps.c b/compegps.c index b91720838..eb5fa0f59 100644 --- a/compegps.c +++ b/compegps.c @@ -151,8 +151,8 @@ parse_wpt(char *buff) char *c, *cx; waypoint *wpt = waypt_new(); struct tm tm; - memset(&tm, 0, sizeof(tm)); int has_time = 0; + memset(&tm, 0, sizeof(tm)); c = strstr(buff, "A "); if (c == buff) col++;